package com.gsy.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Date 2022/3/6 1:12:13
 * @Author gsy
 */
@Data
public class GetNoticeVO {
    @TableId(type = IdType.AUTO)
    protected Integer id;

    private String token;

    @ApiModelProperty(name = "用户", value = "用户", dataType = "String", example = "用户")
    private String username;

    @ApiModelProperty(name = "用户", value = "用户", dataType = "String", example = "用户")
    private String name;

    @ApiModelProperty(name = "密码", value = "密码", dataType = "String", example = "密码")
    private String password;

    @ApiModelProperty(name = "头像", value = "头像", dataType = "String", example = "头像")
    private String head;

    @ApiModelProperty(name = "邮箱", value = "邮箱", dataType = "String", example = "邮箱")
    private String mailbox;

    @ApiModelProperty(name = "地址", value = "地址", dataType = "String", example = "地址")
    private String address;

    @ApiModelProperty(name = "性别", value = "性别", dataType = "String", example = "性别")
    private String sex;

    @ApiModelProperty(name = "最近一次修改时间", value = "最近一次修改时间", dataType = "Date", example = "最近一次修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date modifytime;

    @ApiModelProperty(name = "存入时间", value = "存入时间", dataType = "Date", example = "存入时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createtime;

    @ApiModelProperty(name = "所属班级", value = "所属班级", dataType = "String", example = "所属班级")
    private String classes;

    private Integer type;

    private Date readtime;
}
